let swiper1 = new Swiper(".banner", {
  slidesPerView: 1,
  spaceBetween: 30,
  loop: true,
  pagination: {
    el: ".swiper-pagination",
    clickable: true
  },
  // 开启自动切换
  autoplay: true,
  navigation: {
    nextEl: ".swiper-button-next",
    prevEl: ".swiper-button-prev"
  }
});

let swiper2 = new Swiper(".mt25", {
  slidesPerView: "auto",
  spaceBetween: 0,
  loop: true,
  // 开启自动切换
  autoplay: true
});

let swiper3 = new Swiper(".summer", {
  slidesPerView: "auto",
  spaceBetween: 0,
  loop: true,
  // 开启自动切换
  autoplay: true,
  pagination: {
    el: ".swiper-pagination",
    clickable: true
  },
});

// 返回顶部
$(document).ready(function() {
  $(".ins-top").click(function() {
    $("body,html").animate({ scrollTop: 0 }, 100);
    return false;
  });
});
